/*
 * @Description: 登录状态
 * @Author: zheng yiliang
 * @Date: 2021-05-24 19:37:32
 * @LastEditTime: 2021-06-13 11:17:15
 * @LastEditors: zheng yiliang
 */
export default {
  namespaced: true,
  state: {
    // 分类标签页显示隐藏
    nickName: '',
    avatar: '',
    times: ''
  },
  mutations: {
    setLogin (state, val) {
      state.nickName = val.nickname
      state.avatar = val.figureurl_qq_1
    },
    setTime (state, val) {
      state.times = val
    }
  }
}
